package com.uniapp.java.uniappjava.pojo;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.time.LocalDateTime;
import java.util.List;

@Document(collection = "production")
@Data
public class Production {
    @Id
    private String id;
    private List<String> urls;
    private String authorId;
    private LocalDateTime addTime = LocalDateTime.now();
    private Long praiseNum = 0L;
}
